<?php

Route::group([
    'prefix' => 'user',
    'middleware' => ['api'],
],function (){
    Route::post('/ddd', function (){
        return 1;
    });

});